package com.tong.hao.ac.service.domain.finance;

import cn.buddha.jec.model.TongBaseData;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @ClassName AcBillReqDo
 * @Author 友野浩二
 * @Date 2020/4/27 10:00
 * @Description 账单模型
 * @Version 1.0
 */
@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
public class AcBillReqDo extends TongBaseData {
    private static final long serialVersionUID = -1796321102178477039L;

    /**
     * 用户编号
     */
    private String userKey;

    /**
     * 账单日期
     */
    private Date acDate;

    /**
     * 账单类别编号(参见ac_bill_class.bill_id)
     */
    private String billClassId;

    /**
     * 账单类型编号(参见ac_bill_category.bill_id)
     */
    private String billCategoryId;

    /**
     * 转入账户类型编号(参见ac_account_class.account_id)
     */
    private String accountInId;

    /**
     * 转出账户类型编号(参见ac_account_class.account_id)
     */
    private String accountOutId;

    /**
     * 账单金额(最小单位是分)
     */
    private BigDecimal acAmount;
}
